#include "Common.hpp"
#include "Client.hpp"

int main()
{
    client.OpenPipe(gForWrite);

    while (true)
    {
        std::string str;
        std::cin>>str;
        client.SendPipe(str.c_str());
    }

    client.ClosePipe();
    return 0;
}